<%@ Page Title="" Language="C#" MasterPageFile="~/GUI/MasterPage.master" AutoEventWireup="true" CodeFile="Search.aspx.cs" Inherits="Home_Search" %>


<%@ Register src="../Controls/ListBook.ascx" tagname="ListBook" tagprefix="uc1" %>


<%@ Register src="../Controls/ListCategory.ascx" tagname="ListCategory" tagprefix="uc2" %>


<%@ Register src="../Controls/Platform.ascx" tagname="Platform" tagprefix="uc3" %>


<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
     <div class="First">
        <div class="IconTitle"><img src="../Images/icon_title.png"/></div>
        <div class="Title">Search</div>
        <div class="ButtonAdd"><a href="../Home/AddNewBook.aspx"><img src="../Images/btn_Add.png"/></a></div>
    </div>
    <div class="Second"> 
        <%if (idSearch == 3)
          {%>
            <uc1:ListBook ID="ListBook1" runat="server" />    
        <%}
          else if (idSearch == 1)
          { %>
            <uc2:ListCategory ID="ListCategory1" runat="server" />
        <%}
          else
          {%>
            <uc3:Platform ID="Platform1" runat="server" />
          <%} %>
        
    </div>
</asp:Content>

